package cn.com.taiji.oospub.wechat.entity;

import cn.com.taiji.oospub.wechat.common.Finals;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Calendar;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderChildInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("ID")
    private String id;

    private String orderMainId;
//    @TableField(exist = false)
//    @EntityMapper
//    @ManyToOne
//    @JoinColumn(name = "order_main_id",referencedColumnName = "ID")
//    private OrderMainInfo orderMain;

    private String supplierId;
//    @TableField(exist = false)
//    @EntityMapper
//    @ManyToOne
//    @JoinColumn(name = "supplier_id",referencedColumnName = "ID")
//    private Supplier supplier;

    private String childCode;

    private String orderMainCode;

    private String supplierCode;

    private Calendar createTime;

    private String creator;

    private Double sumAmount;

    private Finals.OrderStatus status;

    private String printer;

    private Calendar printTime;


}
